package com.itxiuyixiu.volunteer.dto;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

/**
 * @author 黄磊
 * @date 2020/6/1
 */
public class UserModifyDetailMessageParam {
    @NotEmpty(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String userEmail;

    private String authorities;

    @NotEmpty(message = "昵称不能为空")
    private String nickName;

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
